@import '~antd/es/style/themes/default.less';

.entry {
  margin-bottom: 10px;
  padding-top: 16px;
  color: #222;
  font-size: 14px;
  line-height: 28px;
}
.pubPrevNext {
  margin-bottom: 40px;
}
.clearfix {
  clear: both;
  width: 1px;
  height: 0;
  margin-top: 0 !important;
  *margin-top: -1px;
  font-size: 1px;
  line-height: 0;
  visibility: hidden;
}

// 用于图片在移动端自适应宽度
.entry img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto !important;
}

.card {
  :global {
    .ant-card-meta-title {
      margin-bottom: 4px;
      & > a {
        display: inline-block;
        max-width: 100%;
        color: @heading-color;
      }
    }
    .ant-card-meta-description {
      height: 44px;
      overflow: hidden;
      line-height: 22px;
    }
  }

  &:hover {
    :global {
      .ant-card-meta-title > a {
        color: @primary-color;
      }
    }
  }
}

.cardItemContent {
  display: flex;
  height: 20px;
  margin-top: 16px;
  margin-bottom: -4px;
  line-height: 20px;
  & > span {
    flex: 1;
    color: @text-color-secondary;
    font-size: 12px;
  }
  .avatarList {
    flex: 0 1 auto;
  }
}
